<div class="page field-section content4" data-page="deliveryNoticeDetail">
	<p class="location">
		<label>当前位置：</label>
		<a href="javascript:void(0)" class="deliveryNoticeList">放货通知</a>&nbsp;&gt;&nbsp;放货通知详情

	</p>
	<div class="page-content">
		<div class="page-content-main">
			<div class="page-content-main-header d2">
				<span class="span1"><a class="deliveryNoticeDetailInfo" style="color: #FF7344;">发货通知信息</a></span>
				<span class="span3">|</span><span class="span2"><a class="deliveryList" style="color: #000;">放货配送</a></span>

				<div class="page-content-main-header-item fr">
				</div>
			</div>
			<!--<div class="panel1_left fl" style="margin-left: 40px; width: 8%;height: 10px;background: url(../../../res/png/borderimg.png) no-repeat left bottom;"></div>-->
			<div class=" panel1_right fr" style="height: 10px;width:973px;margin-right: 10px;border-bottom: 3px solid #ccc;"></div>
			<div class="page-content-main-content" id="deliveryDetlailMainContent">
			</div>
			<script type="text/template" id="financingDetail">
				{@each datas as it}
				<div class="d3">
					<div class="basic_info">
						基本信息
						<p>
							<span class="span1" id="detailEnterpriseName">放货通知单编号：${it.deliveryNoticeNumber}</span>
							<span class="span2">提货申请编号：<span id="">${it.pickupNumber}</span></span>
						</p>
						<p style="margin-top: 12px;">

							<span class="span1">物流公司名称 ：<span id="">${it.logisticsCompanyName}</span></span>
							<span class="span2">配送日期 ：<span id="">${it.deliveryDate}</span></span>
						</p>

						<p>
							<span class="span1">货物监管单批次号  ：<span id="">${it.supervisionBatchNumber}</span></span>
							<span class="span2">收货地 ：<span id="">${it.receiveAddress}</span></span>
						</p>
						<p>
							<span class="span1">放货通知说明：<span id="">${it.noticeRemark}</span></span>

						</p>
					</div>

				</div>
				<div class="clear"></div>
				<div class="pledging_goods" style="margin-top: 0px;">
					<p class="goods_type">放货货物明细</p>
					<table border="0" cellspacing="0" cellpadding="0">
						<tr style="border-bottom: 1px solid #E1E1E1; font-weight: bold;">
							<td style="width=25%;border: none;">货物名称<br />(规格型号)</td>
							<td style="width=15%;">预提数量</td>
							<td style="width=15%;">重量(吨)</td>
							<td style="width=15%;">体积(m<sup>3</sup>)</td>
							<td style="width=15%;">已提数量</td>
						</tr>
						{@each it.pickupBulkstocks as that}
						<tr>
							<td style="border: none;">${that.bulkstockName}（${that.specification}）</td>
							<td>${that.quantity}(${that.unit})</td>
							<td>${that.weight}</td>
							<td>${that.weight}</td>
							<td>${that.pickup}(${that.unit})</td>
						</tr>
						{@/each}
					</table>
				</div>
				<div class="clear"></div>
				<div class="pledging_goods">
					<p class="goods_type">放货货箱明细</p>
					<table border="0" cellspacing="0" cellpadding="0">
						<tr style="border-bottom: 1px solid #E1E1E1; font-weight: bold;">
							<td style="25%;">货物箱号 </td>
							<td style="15%">箱型尺寸</td>
							<td style="15%">运单号</td>
							<td style="15%">铅封号</td>
							<td style="15%">铅封号2</td>
						</tr>
						{@each it.containerInventorys as them}
						<tr>
							<td>${them.caseNumber}</td>
							<td>${them.caseSize}</td>
							<td>${them.waybillNumber}</td>
							<td>${them.facingSlip}</td>
							<td>${them.facingSlipNext}</td>
						</tr>
						{@/each}
					</table>
				</div>
				{@/each}
			</script>
		</div>
		<a class="back" href="javascript:hostory.go(-1);"></a>
	</div>

	<div id="fullBg" class="fullBg none"></div>
	<div class="dialog none" id="confirmDialog" style="width:300px;">
		<div class="dialogTitle"></div>
		<button class="closeDiv">×</button>
		<div class="dialogContent">
		</div>
		<div class="footerBtn">
			<div class="dialogBtn dialogCancelBtn radius_shadow">取消</div>
			<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
		</div>
	</div>

	<!--生成放货配送-->
	<div id="delivery_dialog" class="dialog transportNotice_dialog none" style="margin-top: -87.5px; margin-left: -200px;">
		<div class="dialogTitle">生成放货配送</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent deliveryContent" action="createDelivery" version="v1.0">
			<div>
				<input type="hidden" name="deliveryNoticeId" />
				<p>
					<span for="" class="field-lab2 financing_field-lab2">
			<input class="field-input " minLength="1" maxLength="255" type="hidden" name="clerkMobile" id="clerkMobile" placeholder="手机号" />
			
				<span for="" class="field-lab2 financing_field-lab2">配送负责人：</span>
					<input type="hidden" name="clerkName" class="clerkNameInput" />
					<select class="field-input" id="clerkName" name="clerkId">
						<script type="text/template" id="clerkTpl">
							<option value=""></option>
							{@each datas as it}
							<option value="${it.clerkId}">${it.clerkName}</option>
							{@/each}
						</script>
					</select>
				</p>

				<div>
					<table class="table">
						<thead>
							<tr>
								<th>操作</th>
								<th>运单号</th>
								<th>箱号</th>
								<th>箱型尺寸</th>
								<th>货名</th>
								<th>数量--重量(吨)--体积(m<sup>3</sup>)</th>
								<th>实际数量</th>
								<th>铅封号1</th>
								<th>铅封号2</th>
							</tr>
						</thead>
						<tbody id="inventoryBody">
							<script type="text/template" id="inventoryTpl">
								{@each datas as it,index}
								<tr>
									<td>
										<input type="checkbox" class="inventoryId" name="inventoryId" value="${it.inventoryId}" />
									</td>
									<td>${it.waybillNumber}</td>
									<td>${it.caseNumber}</td>
									<td>${it.caseSize}</td>

									<td>{@each it.containerBulkstocks as that} ${that.bulkstockName}
										<br/> {@/each}
									</td>
									<td>
										{@each it.containerBulkstocks as that} ${that.plannedQuantity}(${that.unit})--${that.weight}--${that.volume}
										<br/> {@/each}
									</td>
									<td>{@each it.containerBulkstocks as that} ${that.quantity}(${that.unit})
										<br/> {@/each}
									</td>

									<td>${it.facingSlip}</td>
									<td>${it.facingSlipNext}</td>
								</tr>
								{@/each}
							</script>
						</tbody>
					</table>
				</div>
			</div>

		</div>
		<div class="footerBtnContract">
			<div id="sure_deliveryNotice" class="dialogBtn dialogHandlerBtn sure_transportNotice">提交</div>
		</div>
	</div>

</div>